package cheapcopy.server;import java.util.HashMap;/** * @author zwb * @date 2020/1/18 10:43 * @since 1 **/public class ModelData {    public ModelData(){        data = new HashMap<>();    }    /**     * 视图名称     */    private String viewName;    /**     * 数据     */    private HashMap<String,Object> data;    public HashMap<String, Object> getData() {        return data;    }    public void setData(HashMap<String, Object> data) {        this.data = data;    }    public ModelData putData(String key, Object value){        data.put(key,value);        return this;    }    public String getViewName() {        return viewName;    }    public void setViewName(String viewName) {        this.viewName = viewName;    }}